//
//  DatabaseSql.h
//  微他
//
//  Created by 微他 on 14-8-5.
//  Copyright (c) 2014年 微他. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DatabaseSql : NSObject

//查询LH_member表所有数据
+ (NSArray *)queryAllMember;
//根据城市 查询区域
+ (NSArray *)region_queryregionofcity:(NSString *)curcityid;
//查询全国所有区域
+ (NSArray *)region_queryallregion;
//根据名字查询id
+ (NSMutableDictionary *)region_queryidusename:(NSString *)regionname;
+ (NSString *)region_queryfromidusetoid:(NSString *)toid;

//查询所有的省份
+ (NSArray *)queryAllProvinces;

//根据省份取得相应的城市
+ (NSArray *)queryCityForProvinces:(NSString *)provinceId;
//取得区域
+ (NSArray *)queryDistrict:(NSString *)Id;
+ (NSArray *)findprovid:(NSString *)provid
                 cityID:(NSString *)cityId;

@end
